package com.atguigu.cloud.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
@ConfigurationProperties(prefix = "config")
public class MyConfigProperties {

    String host;
    Integer port;

    String url;
    String username;
    String password;
}
